const db = require("./db/db");
const bookModel = require("./db/modules/book");

db(
  () => {
    bookModel
      .insertMany([{ name: "zs" }])
      .then((res) => {
        console.log("新增成功", res);
      })
      .catch(() => {
        console.log("新增失败");
      });
  },
  () => {}
);
